rootdir = ../..
include("$$rootdir/common.pri")

TEMPLATE = lib
CONFIG += qt warn_on
DEFINES += BUILD_EVENT_DLL
QT -= gui
TARGET = greenhills.event

public_headers = ../event.h \
    ../actionevent.h \
    ../loginevent.h \
    ../logoutevent.h \
    ../updateobjectevent.h \
    ../synchronouschannel.h \
    ../asynchronouschannel.h \
    ../createroomevent.h \
    ../joinroomevent.h \
    ../leaveroomevent.h \
    ../additemevent.h \
    ../identificationevent.h \
    ../removeitemevent.h \
    ../eventdll.h

HEADERS += $$public_headers

SOURCES += event.cpp \
    loginevent.cpp \
    actionevent.cpp \
    logoutevent.cpp \
    updateobjectevent.cpp \
    synchronouschannel.cpp \
    asynchronouschannel.cpp \
    createroomevent.cpp \
    joinroomevent.cpp \
    leaveroomevent.cpp \
    additemevent.cpp \
    identificationevent.cpp \
    removeitemevent.cpp

LIBS += \
    -lgreenhills.util \
    -lgreenhills.io \
    -lgreenhills.core

